package com.cmc.cloud.cmclink.doc.vo.confirmnoticedetailvo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;

import org.hibernate.validator.constraints.Length;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;

import static com.cmes.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * 确认装货港更改通知子 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 * @author codegen
 */
@Data
public class ConfirmNoticeDetailBaseVO {

        @Schema(description = "通知主表id", requiredMode = Schema.RequiredMode.REQUIRED, example = "16721")
    @NotNull(message = "{confirmnoticedetail.noticeid.notnull}")
    private Long noticeId;
	
        @Schema(description = "申请记录状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotBlank(message = "{confirmnoticedetail.noticestatus.notblank}")
	@Length(max = 30,message = "{confirmnoticedetail.noticestatus.length}")
    private String noticeStatus;
	
        @Schema(description = "审批人", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "{confirmnoticedetail.approveuser.notblank}")
	@Length(max = 64,message = "{confirmnoticedetail.approveuser.length}")
    private String approveUser;
	
        @Schema(description = "审批时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "{confirmnoticedetail.approvetime.notnull}")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime approveTime;
	
        @Schema(description = "审核备注类型", example = "1")
	@Length(max = 64,message = "{confirmnoticedetail.approveremarktype.length}")
    private String approveRemarkType;
	
        @Schema(description = "审核备注", example = "随便")
	@Length(max = 255,message = "{confirmnoticedetail.approveremark.length}")
    private String approveRemark;
	
        @Schema(description = "港口", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "{confirmnoticedetail.currentport.notblank}")
	@Length(max = 2147483647,message = "{confirmnoticedetail.currentport.length}")
    private String currentPort;
	
}
